package controller

import (
	"golang.org/x/net/context"
	"lot_admin_api/api"
	"lot_admin_api/internal/model"
	"lot_admin_api/internal/service"
)

var (
	Operate = cOperate{}
)

type cOperate struct{}

// OperateInfo  获取运营用户模块
func (h *cOperate) OperateInfo(ctx context.Context, req *api.OperateInfoReq) (res *model.OperateIdAndInfoRes, err error) {
	res, err = service.Operate().OperateInfo(ctx, req.Id)
	return res, err
}
